package com.example.base.flow.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.base.excetion.GlobalExcetion;
import com.example.base.flow.domain.SysFlow;
import com.example.base.flow.domain.vo.SysFlowVo;

/**
 * <p>
 * 工作流 服务类
 * </p>
 *
 * @author X.I.O
 * @since 2024-04-25
 */
public interface SysFlowService extends IService<SysFlow> {

    public SysFlow saveSysFlow(SysFlow sysflow) throws GlobalExcetion;

    public SysFlow updateSysFlowById(SysFlow sysflow) throws GlobalExcetion;

    public SysFlow saveOrUpdateSysFlow(SysFlowVo sysflowVo) throws GlobalExcetion;

    public IPage<SysFlow> page(Integer page, Integer pageSize) throws GlobalExcetion;

}
